<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" dir="ltr" class="client-nojs">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Extensions for parallelism - cppreference.com</title>
<meta charset="UTF-8">
<meta name="generator" content="MediaWiki 1.21.2">


<link rel="shortcut icon" href="../../../favicon.ico">



<link rel="stylesheet" href="../../../common/ext.css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" href="../../../common/site_modules.css">
<style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}#toc{display:none}.editsection{display:none}
/* cache key: mwiki1-mwiki_en_:resourceloader:filter:minify-css:7:472787eddcf4605d11de8c7ef047234f */</style>

<script src="../../../common/startup_scripts.js"></script>
<script>if(window.mw){
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"cpp/experimental/parallelism","wgTitle":"cpp/experimental/parallelism","wgCurRevisionId":80072,"wgArticleId":13847,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"cpp/experimental/parallelism","wgRestrictionEdit":[],"wgRestrictionMove":[]});
}</script><script>if(window.mw){
mw.loader.implement("user.options",function(){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":0,"showtoolbar":1,"skin":"cppreference2","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"gadget-ColiruCompiler":1});;},{},{});mw.loader.implement("user.tokens",function(){mw.user.tokens.set({"editToken":"+\\","patrolToken":false,"watchToken":false});;},{},{});
/* cache key: mwiki1-mwiki_en_:resourceloader:filter:minify-js:7:ca03345b1e2c4d90a25d968753a73b92 */
}</script>
<script>if(window.mw){
mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
}</script>
<!--[if lt IE 7]><style type="text/css">body{behavior:url("/mwiki/skins/cppreference2/csshover.min.htc")}</style><![endif]-->
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-cpp_experimental_parallelism skin-cppreference2 action-view cpp-navbar">
        <!-- header -->
        
        <!-- /header -->
        <!-- content -->
        <div id="cpp-content-base">
            <div id="content">
                <a id="top"></a>
                <div id="mw-js-message" style="display:none;"></div>
                                <!-- firstHeading -->
                <h1 id="firstHeading" class="firstHeading">Extensions for parallelism</h1>
                <!-- /firstHeading -->
                <!-- bodyContent -->
                <div id="bodyContent">
                                        <!-- tagline -->
                    <div id="siteSub">From cppreference.com</div>
                    <!-- /tagline -->
                                        <!-- subtitle -->
                    <div id="contentSub"><span class="subpages">&lt; <a href="../../cpp.html" title="cpp">cpp</a>‎ | <a href="../experimental.html" title="cpp/experimental">experimental</a></span></div>
                    <!-- /subtitle -->
                                                            <!-- bodycontent -->
                    <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<div class="t-navbar" style="">
<div class="t-navbar-sep"> </div>
<div class="t-navbar-head">
<a href="../../cpp.html" title="cpp"> C++</a><div class="t-navbar-menu"><div>
<div><table class="t-nv-begin" cellpadding="0" style="line-height:1.1em;">
<tr class="t-nv"><td colspan="5"> <a href="../language.1.html" title="cpp/language"> Language</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../header.html" title="cpp/header"> Standard library headers</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../concept.html" title="cpp/concept"> Concepts</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../utility.html" title="cpp/utility"> Utilities library</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../string.html" title="cpp/string"> Strings library</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../container.html" title="cpp/container"> Containers library</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../algorithm.html" title="cpp/algorithm"> Algorithms library</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../iterator.html" title="cpp/iterator"> Iterators library</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../numeric.html" title="cpp/numeric"> Numerics library</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../io.html" title="cpp/io"> Input/output library</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../locale.html" title="cpp/locale"> Localizations library</a> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../regex.html" title="cpp/regex"> Regular expressions library</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../atomic.html" title="cpp/atomic"> Atomic operations library</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../thread.html" title="cpp/thread"> Thread support library</a> <span class="t-mark-rev t-since-cxx11">(C++11)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../experimental.html" title="cpp/experimental"> Technical Specifications</a> </td></tr>
</table></div>
<div></div>
</div></div>
</div>
<div class="t-navbar-sep"> </div>
<div class="t-navbar-head">
<a href="../experimental.html" title="cpp/experimental"> Technical specifications</a><div class="t-navbar-menu"><div>
<div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv"><td colspan="5"> <a href="fs.html" title="cpp/experimental/fs">Filesystem library</a> <span class="t-mark-rev t-since-fs-ts t-mark-ts">(filesystem TS)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="memory.html" title="cpp/experimental/lib extensions">Library fundamentals</a> <span class="t-mark-rev t-since-libfund-ts t-mark-ts">(library fundamentals TS)</span>
</td></tr>
<tr class="t-nv"><td colspan="5"> <a href="lib_extensions_2.html" title="cpp/experimental/lib extensions 2">Library fundamentals 2</a> <span class="t-mark-rev t-since-libfund-2-ts t-mark-ts">(library fundamentals 2 TS)</span>
</td></tr>
<tr class="t-nv"><td colspan="5"> <strong class="selflink">Extensions for parallelism</strong> <span class="t-mark-rev t-since-fs-ts t-mark-ts">(parallelism TS)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="../language/concepts.html" title="cpp/language/constraints">Concepts</a> <span class="t-mark-rev t-since-concepts-ts t-mark-ts">(concepts TS)</span> </td></tr>
<tr class="t-nv"><td colspan="5"> <a href="concurrency.html" title="cpp/experimental/concurrency">Extensions for concurrency</a> <span class="t-mark-rev t-since-concurrency-ts t-mark-ts">(concurrency TS)</span> </td></tr>
</table></div>
<div></div>
</div></div>
</div>
<div class="t-navbar-sep"> </div>
<div class="t-navbar-head">
<strong class="selflink">Extensions for parallelism</strong><div class="t-navbar-menu"><div>
<div><table class="t-nv-begin" cellpadding="0" style="">
<tr class="t-nv-h1"><td colspan="5"> <a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/parallelism/execution policy (page does not exist)">Execution policies</a>
</td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/execution policy (page does not exist)"><span class="t-lines"><span>parallel::execution_policy</span></span></a></div></div></td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="execution_policy_tag_t.html" title="cpp/experimental/execution policy tag t"><span class="t-lines"><span>parallel::sequential_execution_policy</span><span>parallel::parallel_execution_policy</span><span>parallel::parallel_vector_execution_policy</span></span></a></div></div></td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="execution_policy_tag.html" title="cpp/experimental/execution policy tag"><span class="t-lines"><span>parallel::seq</span><span>parallel::par</span><span>parallel::par_vec</span></span></a></div></div></td></tr>
<tr class="t-nv-h1"><td colspan="5"> <a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/parallelism/parallel algorithms (page does not exist)">Parallel algorithms</a>
</td></tr>
<tr class="t-nv-h2"><td colspan="5"> Parallel exceptions </td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/exception list (page does not exist)"><span class="t-lines"><span>parallel::exception_list</span></span></a></div></div></td></tr>
<tr class="t-nv-h2"><td colspan="5"> <a href="parallelism/existing.html" title="cpp/experimental/parallelism/existing">Parallelized version of existing algorithms</a> </td></tr>
<tr class="t-nv-h2"><td colspan="5"> New algorithms </td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/for each (page does not exist)"><span class="t-lines"><span>parallel::for_each</span><span>parallel::for_each_n</span></span></a></div></div></td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/reduce (page does not exist)"><span class="t-lines"><span>parallel::reduce</span></span></a></div></div></td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/exclusive scan (page does not exist)"><span class="t-lines"><span>parallel::exclusive_scan</span></span></a></div></div></td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/inclusive scan (page does not exist)"><span class="t-lines"><span>parallel::inclusive_scan</span></span></a></div></div></td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/transform reduce (page does not exist)"><span class="t-lines"><span>parallel::transform_reduce</span></span></a></div></div></td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/transform exclusive scan (page does not exist)"><span class="t-lines"><span>parallel::transform_exclusive_scan</span></span></a></div></div></td></tr>
<tr class="t-nv"><td colspan="5"><div class="t-nv-ln-table"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/transform inclusive scan (page does not exist)"><span class="t-lines"><span>parallel::transform_inclusive_scan</span></span></a></div></div></td></tr>
</table></div>
<div></div>
</div></div>
</div>
<div class="t-navbar-sep"> </div>
</div>
<p>The C++ Extensions for Parallelism, ISO/IEC TS 19570:2015 defines the following new components for the C++ standard library:
</p>
<table id="toc" class="toc"><tr><td>
<div id="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="parallelism.html#Execution_policies"><span class="tocnumber">1</span> <span class="toctext">Execution policies</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="parallelism.html#Exception_lists"><span class="tocnumber">2</span> <span class="toctext">Exception lists</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="parallelism.html#Parallelized_versions_of_existing_algorithms"><span class="tocnumber">3</span> <span class="toctext">Parallelized versions of existing algorithms</span></a></li>
<li class="toclevel-1 tocsection-4"><a href="parallelism.html#New_algorithms"><span class="tocnumber">4</span> <span class="toctext">New algorithms</span></a></li>
</ul>
</td></tr></table>
<h3>
<span class="editsection">[<a href="http%3A//en.cppreference.com/mwiki/index.php" title="Edit section: Execution policies">edit</a>]</span> <span class="mw-headline" id="Execution_policies">Execution policies</span>
</h3>
<p>The parallelism TS describes three execution policies: <a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/parallelism/execution policy (page does not exist)">sequential</a>, <a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/parallelism/execution policy (page does not exist)">parallel</a>, and <a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/parallelism/execution policy (page does not exist)">parallel+vector</a>, and provides corresponding execution policy types and objects. Users may select an execution policy statically by invoking a parallel algorithm with the an execution policy object of the corresponding type, or dynamically by using the type-erasing <code>execution_policy</code> class.
</p>
<p>Implementations may define additional execution policies as an extension. The semantics of parallel algorithms invoked with an execution policy object of implementation-defined type is implementation-defined.
</p>
<table class="t-dsc-begin">

<tr class="t-dsc-header">
<td colspan="2"> <div>Defined in header <code>&lt;experimental/execution_policy&gt;</code> </div>
</td>
</tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="execution_policy_tag_t.html" title="cpp/experimental/execution policy tag t"> <span class="t-lines"><span>sequential_execution_policy</span><span>parallel_execution_policy</span><span>parallel_vector_execution_policy</span></span></a></div></div>
</td>
<td>   execution policy types <br> <span class="t-mark">(class)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="execution_policy_tag.html" title="cpp/experimental/execution policy tag"> <span class="t-lines"><span>seq</span><span>par</span><span>par_vec</span></span></a></div></div>
</td>
<td>   global execution policy objects <br> <span class="t-mark">(constant)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/execution policy (page does not exist)"> <span class="t-lines"><span>execution_policy</span></span></a></div></div>
</td>
<td>   dynamic execution policy <br> <span class="t-mark">(class)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="is_execution_policy.html" title="cpp/experimental/is execution policy"> <span class="t-lines"><span>is_execution_policy</span></span></a></div></div>
</td>
<td>   test whether a class represents an execution policy <br> <span class="t-mark">(class template)</span>
</td>
</tr>

</table>
<h3>
<span class="editsection">[<a href="http%3A//en.cppreference.com/mwiki/index.php" title="Edit section: Exception lists">edit</a>]</span> <span class="mw-headline" id="Exception_lists"> Exception lists </span>
</h3>
<table class="t-dsc-begin">

<tr class="t-dsc-header">
<td colspan="2"> <div>Defined in header <code>&lt;experimental/exception_list&gt;</code> </div>
</td>
</tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/exception list (page does not exist)"> <span class="t-lines"><span>exception_list</span></span></a></div></div>
</td>
<td>   exceptions raised during parallel executions <br> <span class="t-mark">(class)</span>
</td>
</tr>

</table>
<h3>
<span class="editsection">[<a href="http%3A//en.cppreference.com/mwiki/index.php" title="Edit section: Parallelized versions of existing algorithms">edit</a>]</span> <span class="mw-headline" id="Parallelized_versions_of_existing_algorithms">Parallelized versions of existing algorithms</span>
</h3>
<p>The TS provides <a href="parallelism/existing.html" title="cpp/experimental/parallelism/existing">parallelized versions</a> of the following 69 algorithms from &lt;algorithm&gt;, &lt;numeric&gt; and &lt;memory&gt;:
</p>
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
<ul>
<li> <span class="t-lc"><a href="../algorithm/adjacent_difference.html" title="cpp/algorithm/adjacent difference">std::adjacent_difference</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/adjacent_find.html" title="cpp/algorithm/adjacent find">std::adjacent_find</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/all_any_none_of.html" title="cpp/algorithm/all any none of">std::all_of</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/all_any_none_of.html" title="cpp/algorithm/all any none of">std::any_of</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/copy.html" title="cpp/algorithm/copy">std::copy</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/copy.html" title="cpp/algorithm/copy">std::copy_if</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/copy_n.html" title="cpp/algorithm/copy n">std::copy_n</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/count.html" title="cpp/algorithm/count">std::count</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/count.html" title="cpp/algorithm/count">std::count_if</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/equal.html" title="cpp/algorithm/equal">std::equal</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/fill.html" title="cpp/algorithm/fill">std::fill</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/fill_n.html" title="cpp/algorithm/fill n">std::fill_n</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/find.html" title="cpp/algorithm/find">std::find</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/find_end.html" title="cpp/algorithm/find end">std::find_end</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/find_first_of.html" title="cpp/algorithm/find first of">std::find_first_of</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/find.html" title="cpp/algorithm/find">std::find_if</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/find.html" title="cpp/algorithm/find">std::find_if_not</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/generate.html" title="cpp/algorithm/generate">std::generate</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/generate_n.html" title="cpp/algorithm/generate n">std::generate_n</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/includes.html" title="cpp/algorithm/includes">std::includes</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/inner_product.html" title="cpp/algorithm/inner product">std::inner_product</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/inplace_merge.html" title="cpp/algorithm/inplace merge">std::inplace_merge</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/is_heap.html" title="cpp/algorithm/is heap">std::is_heap</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/is_heap_until.html" title="cpp/algorithm/is heap until">std::is_heap_until</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/is_partitioned.html" title="cpp/algorithm/is partitioned">std::is_partitioned</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/is_sorted.html" title="cpp/algorithm/is sorted">std::is_sorted</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/is_sorted_until.html" title="cpp/algorithm/is sorted until">std::is_sorted_until</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/lexicographical_compare.html" title="cpp/algorithm/lexicographical compare">std::lexicographical_compare</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/max_element.html" title="cpp/algorithm/max element">std::max_element</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/merge.html" title="cpp/algorithm/merge">std::merge</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/min_element.html" title="cpp/algorithm/min element">std::min_element</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/minmax_element.html" title="cpp/algorithm/minmax element">std::minmax_element</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/mismatch.html" title="cpp/algorithm/mismatch">std::mismatch</a></span>
</li>
<li> <a href="../algorithm/move.html" title="cpp/algorithm/move"><tt>std::move</tt></a>
</li>
<li> <span class="t-lc"><a href="../algorithm/all_any_none_of.html" title="cpp/algorithm/all any none of">std::none_of</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/nth_element.html" title="cpp/algorithm/nth element">std::nth_element</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/partial_sort.html" title="cpp/algorithm/partial sort">std::partial_sort</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/partial_sort_copy.html" title="cpp/algorithm/partial sort copy">std::partial_sort_copy</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/partition.html" title="cpp/algorithm/partition">std::partition</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/partition_copy.html" title="cpp/algorithm/partition copy">std::partition_copy</a></span>
</li>
<li> <a href="../algorithm/remove.html" title="cpp/algorithm/remove"><tt>std::remove</tt></a>
</li>
<li> <span class="t-lc"><a href="../algorithm/remove_copy.html" title="cpp/algorithm/remove copy">std::remove_copy</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/remove_copy.html" title="cpp/algorithm/remove copy">std::remove_copy_if</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/remove.html" title="cpp/algorithm/remove">std::remove_if</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/replace.html" title="cpp/algorithm/replace">std::replace</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/replace_copy.html" title="cpp/algorithm/replace copy">std::replace_copy</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/replace_copy.html" title="cpp/algorithm/replace copy">std::replace_copy_if</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/replace.html" title="cpp/algorithm/replace">std::replace_if</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/reverse.html" title="cpp/algorithm/reverse">std::reverse</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/reverse_copy.html" title="cpp/algorithm/reverse copy">std::reverse_copy</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/rotate.html" title="cpp/algorithm/rotate">std::rotate</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/rotate_copy.html" title="cpp/algorithm/rotate copy">std::rotate_copy</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/search.html" title="cpp/algorithm/search">std::search</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/search_n.html" title="cpp/algorithm/search n">std::search_n</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/set_difference.html" title="cpp/algorithm/set difference">std::set_difference</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/set_intersection.html" title="cpp/algorithm/set intersection">std::set_intersection</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/set_symmetric_difference.html" title="cpp/algorithm/set symmetric difference">std::set_symmetric_difference</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/set_union.html" title="cpp/algorithm/set union">std::set_union</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/sort.html" title="cpp/algorithm/sort">std::sort</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/stable_partition.html" title="cpp/algorithm/stable partition">std::stable_partition</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/stable_sort.html" title="cpp/algorithm/stable sort">std::stable_sort</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/swap_ranges.html" title="cpp/algorithm/swap ranges">std::swap_ranges</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/transform.html" title="cpp/algorithm/transform">std::transform</a></span>
</li>
<li> <span class="t-lc"><a href="../memory/uninitialized_copy.html" title="cpp/memory/uninitialized copy">std::uninitialized_copy</a></span>
</li>
<li> <span class="t-lc"><a href="../memory/uninitialized_copy_n.html" title="cpp/memory/uninitialized copy n">std::uninitialized_copy_n</a></span>
</li>
<li> <span class="t-lc"><a href="../memory/uninitialized_fill.html" title="cpp/memory/uninitialized fill">std::uninitialized_fill</a></span>
</li>
<li> <span class="t-lc"><a href="../memory/uninitialized_fill_n.html" title="cpp/memory/uninitialized fill n">std::uninitialized_fill_n</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/unique.html" title="cpp/algorithm/unique">std::unique</a></span>
</li>
<li> <span class="t-lc"><a href="../algorithm/unique_copy.html" title="cpp/algorithm/unique copy">std::unique_copy</a></span>
</li>
</ul>
</div>
<h3>
<span class="editsection">[<a href="http%3A//en.cppreference.com/mwiki/index.php" title="Edit section: New algorithms">edit</a>]</span> <span class="mw-headline" id="New_algorithms">New algorithms</span>
</h3>
<table class="t-dsc-begin">

<tr class="t-dsc-header">
<td colspan="2"> <div>Defined in header <code>&lt;experimental/algorithm&gt;</code> </div>
</td>
</tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/for each (page does not exist)"> <span class="t-lines"><span>for_each</span></span></a></div></div>
</td>
<td>   similar to <span class="t-lc"><a href="../algorithm/for_each.html" title="cpp/algorithm/for each">std::for_each</a></span> except returns void <br> <span class="t-mark">(function template)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/for each n (page does not exist)"> <span class="t-lines"><span>for_each_n</span></span></a></div></div>
</td>
<td>   applies a function object to the first n elements of a sequence  <br> <span class="t-mark">(function template)</span>
</td>
</tr>


<tr class="t-dsc-header">
<td colspan="2"> <div>Defined in header <code>&lt;experimental/numeric&gt;</code> </div>
</td>
</tr>

<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/reduce (page does not exist)"> <span class="t-lines"><span>reduce</span></span></a></div></div>
</td>
<td>   similar to <span class="t-lc"><a href="../algorithm/accumulate.html" title="cpp/algorithm/accumulate">std::accumulate</a></span>, except out of order  <br> <span class="t-mark">(function template)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/exclusive scan (page does not exist)"> <span class="t-lines"><span>exclusive_scan</span></span></a></div></div>
</td>
<td>   similar to <span class="t-lc"><a href="../algorithm/partial_sum.html" title="cpp/algorithm/partial sum">std::partial_sum</a></span>, excludes the ith input element from the ith sum <br> <span class="t-mark">(function template)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/inclusive scan (page does not exist)"> <span class="t-lines"><span>inclusive_scan</span></span></a></div></div>
</td>
<td>   similar to <span class="t-lc"><a href="../algorithm/partial_sum.html" title="cpp/algorithm/partial sum">std::partial_sum</a></span>, includes the ith input element in the ith sum <br> <span class="t-mark">(function template)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/transform reduce (page does not exist)"> <span class="t-lines"><span>transform_reduce</span></span></a></div></div>
</td>
<td>   applies a functor, then reduces <br> <span class="t-mark">(function template)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/transform exclusive scan (page does not exist)"> <span class="t-lines"><span>transform_exclusive_scan</span></span></a></div></div>
</td>
<td>   applies a functor, then calculates exclusive scan  <br> <span class="t-mark">(function template)</span>
</td>
</tr>


<tr class="t-dsc">
<td>  <div class="t-dsc-member-div"><div><a href="http%3A//en.cppreference.com/mwiki/index.php" class="new" title="cpp/experimental/transform inclusive scan (page does not exist)"> <span class="t-lines"><span>transform_inclusive_scan</span></span></a></div></div>
</td>
<td>   applies a functor, then calculates inclusive scan <br> <span class="t-mark">(function template)</span>
</td>
</tr>

</table>

<!-- 
NewPP limit report
Preprocessor visited node count: 3110/1000000
Preprocessor generated node count: 5797/1000000
Post‐expand include size: 74633/2097152 bytes
Template argument size: 17211/2097152 bytes
Highest expansion depth: 17/40
Expensive parser function count: 0/100
-->

<!-- Saved in parser cache with key mwiki1-mwiki_en_:pcache:idhash:13847-0!*!0!!en!*!* and timestamp 20150729092804 -->
</div>                    <!-- /bodycontent -->
                                        <!-- printfooter -->
                    <div class="printfooter">
                    Retrieved from "<a href="http%3A//en.cppreference.com/mwiki/index.php">http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/parallelism&amp;oldid=80072</a>"                    </div>
                    <!-- /printfooter -->
                                                            <!-- catlinks -->
                    <div id="catlinks" class="catlinks catlinks-allhidden"></div>                    <!-- /catlinks -->
                                                            <div class="visualClear"></div>
                    <!-- debughtml -->
                                        <!-- /debughtml -->
                </div>
                <!-- /bodyContent -->
            </div>
        </div>
        <!-- /content -->
        <!-- footer -->
        
        <!-- /footer -->
        <script>if(window.mw){
mw.loader.state({"site":"loading","user":"missing","user.groups":"ready"});
}</script>
<script src="../../../common/skin_scripts.js"></script>
<script>if(window.mw){
mw.loader.load(["mediawiki.action.view.postEdit","mediawiki.user","mediawiki.page.ready","mediawiki.searchSuggest","mediawiki.hidpi","ext.gadget.ColiruCompiler"], null, true);
}</script>
<script src="../../../common/site_scripts.js"></script>

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2828341-1']);
_gaq.push(['_setDomainName', 'cppreference.com']);
_gaq.push(['_trackPageview']);
</script><!-- Served in 0.848 secs. -->
	</body>
<!-- Cached 20150729092804 -->
</html>
